package db;

import java.util.Date;

/**
 * AbstractPurmat entity provides the base persistence definition of the Purmat
 * entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractPurmat implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer purreqId;
	private Integer materialId;
	private Integer number;
	private Float price;
	private Integer decrease;
	private Integer buyNum;
	private Integer state;
	private Date date;
	private Integer tmppurId;
	private Material material;
	private Integer wareNum;

	// Constructors

	/** default constructor */
	public AbstractPurmat() {
	}

	/** full constructor */
	public AbstractPurmat(Integer purreqId, Integer materialId, Integer number,
			Float price, Integer decrease, Integer buyNum,Integer state, Date date,
			Integer tmppurId, Material material, Integer wareNum) {
		this.purreqId = purreqId;
		this.materialId = materialId;
		this.number = number;
		this.price = price;
		this.decrease = decrease;
		this.buyNum = buyNum;
		this.state = state;
		this.date = date;
		this.tmppurId = tmppurId;
		this.material = material;
		this.wareNum = wareNum;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPurreqId() {
		return this.purreqId;
	}

	public void setPurreqId(Integer purreqId) {
		this.purreqId = purreqId;
	}

	public Integer getMaterialId() {
		return this.materialId;
	}

	public void setMaterialId(Integer materialId) {
		this.materialId = materialId;
	}

	public Integer getNumber() {
		return this.number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Integer getDecrease() {
		return this.decrease;
	}

	public void setDecrease(Integer decrease) {
		this.decrease = decrease;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getTmppurId() {
		return this.tmppurId;
	}

	public void setTmppurId(Integer tmppurId) {
		this.tmppurId = tmppurId;
	}

	public Material getMaterial() {
		return material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	public Integer getBuyNum() {
		return buyNum;
	}

	public void setBuyNum(Integer buyNum) {
		this.buyNum = buyNum;
	}
	
	public Integer getWareNum() {
        return this.wareNum;
    }
    
    public void setWareNum(Integer wareNum) {
        this.wareNum = wareNum;
    }

}